let searchApp = new Vue({
    el: "#searchApp",
    data:{
        key: ""
    },
    methods:{
        search:function(){
            console.log("----search-----" + encodeURI(this.key))
            // encodeURI(this.key) 防止乱码；
            location.href = "/search.html?keyWord=" + encodeURI(this.key);
        }
    }
})